<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<div class="page">
	<ul>
		<li>
			<c:choose>
				<c:when test="${pageBean.currentPage==1}"><font color="#cccccc">首页</font></c:when>
				<c:otherwise><a href="${pageBean.url }&currentPage=1">首页</a></c:otherwise>
			</c:choose>
			<c:choose>
				<c:when test="${pageBean.hasPre}"><a href="${pageBean.url }&currentPage=${pageBean.currentPage-1}">上一页</a></c:when>
				<c:otherwise><font color="#cccccc">上一页</font></c:otherwise>
			</c:choose>
			<c:choose>
				<c:when test="${pageBean.hasNext}"><a href="${pageBean.url }&currentPage=${pageBean.currentPage+1}">下一页</a></c:when>
				<c:otherwise><font color="#cccccc">下一页</font></c:otherwise>
			</c:choose>
			<c:choose>
				<c:when test="${pageBean.currentPage==pageBean.totalPage}"><font color="#cccccc">末页</font></c:when>
				<c:otherwise><a href="${pageBean.url }&currentPage=${pageBean.totalPage}">末页</a></c:otherwise>
			</c:choose>
			第${pageBean.currentPage }/${pageBean.totalPage }页 总计:<font color="#727062">${pageBean.totalCount }</font>条
      	</li>
	</ul>	
</div>